package ${packagePath};
import proxy.IPerson;
import java.lang.reflect.Method;
public class ${className} implements  ${interfaceName} {
private ${invocationHandlerType} h;
public ${className}(${invocationHandlerType} h){
this.h=h;
}
<#list methods as method >
public ${method.getReturnType().getName() }  ${method.getName()}(){
try{
Method m=  ${interfaceName}.class.getMethod(" ${method.getName()}",new Class[]{});
this.h.invoke(this,m,null);
}catch(Throwable e){
e.printStackTrace();
}
}
</#list>
}